package com.share.finance.asset.sjd.service;

import com.alibaba.fastjson.JSONObject;
import com.share.common.common.Page;
import com.share.common.common.Result;
import com.share.finance.asset.sjd.model.db.EventInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.share.finance.asset.sjd.model.vo.EventPageReq;
import com.share.finance.asset.sjd.model.vo.EventReq;
import org.springframework.http.server.ServerHttpRequest;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author author
 * @since 2023-11-29
 */
public interface IEventInfoService extends IService<EventInfo> {

    Page pageList(EventPageReq req);

    Result applyCreditLoan(EventReq req, HttpServletRequest request);

    Integer saveResult(JSONObject req);
}
